﻿using System.Collections.Generic;

namespace Core.Domain
{
	public interface IAccountRepository
	{
		Account GetByEmail(string email);

		IEnumerable<Account> EnumerateAccounts();

		bool ContainsWithEmail(string email);

		void Save(Account account);		
	}
}
